package com.api.shopapi.service;

import com.api.shopapi.entity.ActivityType;
import com.api.shopapi.entity.dto.ComplaintDTO;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public interface ActivityTypeService {


    int insert(ActivityType activityType);


    int delete( String activityTypeCode);


    int update(ActivityType activityType);


    ActivityType getByActivityTypeCode( String activityTypeCode);


    List<ActivityType> listByCommandCenterCode(String commandCenterCode);


    PageInfo<ActivityType> pageByCommandCenterCode(int pageIndex, int pageSize, String commandCenterCode);

}
